Decades of mismanagement and financial neglect have turned the New York State Museum, a trove of national treasures, into a dreary place.